package com.dianjing.dianqun.dao;

import org.apache.ibatis.annotations.Param;

import com.dianjing.dianqun.common.base.CrudMpper;
import com.dianjing.dianqun.model.FriendsRelation;

public interface FriendsRelationMapper  extends CrudMpper<FriendsRelation>{
	/**
	 *
	 * @mbggenerated 2017-11-01
	 */
	int deleteByPrimaryKey(Integer friendsRelationId);

	/**
	 *
	 * @mbggenerated 2017-11-01
	 */
	int insert(FriendsRelation record);

	/**
	 *
	 * @mbggenerated 2017-11-01
	 */
	int insertSelective(FriendsRelation record);

	/**
	 *
	 * @mbggenerated 2017-11-01
	 */
	FriendsRelation selectByPrimaryKey(Integer friendsRelationId);

	/**
	 *
	 * @mbggenerated 2017-11-01
	 */
	int updateByPrimaryKeySelective(FriendsRelation record);

	/**
	 *
	 * @mbggenerated 2017-11-01
	 */
	int updateByPrimaryKey(FriendsRelation record);

	FriendsRelation selectMyFlowUser(@Param("userId")Integer userId, @Param("followId")Integer followId);
}